﻿using JESAI.EventBus.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace JESAI.EventBus.Executors
{
    public interface ICustomEventHandExecutor
    {
        Task ExecuteAsync(EventExecutingContext context, Func<EventExecutingContext, Task> handle, CancellationToken cancellationToken);
    }
}
